package org.wdcode.back.tag.set;

import org.apache.struts2.views.jsp.SetTag;

/**
 * 保存字段实体
 * @author WD
 * @since JDK6
 * @version 1.0 2010-03-26
 */
public final class SetFieldTag extends SetTag {
	// 序列化ID
	private static final long	serialVersionUID	= -7186058207495294100L;

	/**
	 * 重写方法
	 */
	@Override
	protected void populateParams() {
		// 设置ID
		id = "temField";
		// 设置var
		setVar(id);
		// 设置value
		value = "#attr.temTempls.get('field')";
		// 设置scope
		scope = "page";
		// 调用父方法
		super.populateParams();
	}
}
